<%@ page language="java" pageEncoding="ISO-8859-1"%>
<jsp:directive.page import="java.util.ArrayList"/>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
  <head>
    <html:base />
    
    <title>pdioapprv.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

   <link href="css/style1.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="main-out">
<div class="main">
<div class="page">
<div class="top">
<div class="header">
<div class="header-top">
<%@include file="TopHead.jsp" %>
</div>
<div class="topmenu">
<%@include file="TopMenu.jsp" %>
</div>
<div class="">
<img src="images/d3.gif">
</div>
</div>
<div class="content">
<div class="content-left">
<div class="row1">
<div class="img">&nbsp;</div>
<div class="welcome">
<h1 class="title">Welcome to POlice Seva<span></span></h1>
<p>




</p>

<%
  
  ArrayList spid=(ArrayList)request.getAttribute("spid");
   ArrayList sdgs=(ArrayList)request.getAttribute("sdgs");
   ArrayList snm=(ArrayList)request.getAttribute("snm");
   ArrayList pdnm=(ArrayList)request.getAttribute("pdnm");
   ArrayList sph=(ArrayList)request.getAttribute("sph");
  ArrayList sdj=(ArrayList)request.getAttribute("sdj");
   ArrayList scd=(ArrayList)request.getAttribute("scd");
   ArrayList sad=(ArrayList)request.getAttribute("sad");
   
 
    %>

    
     <html:form action="pdioappv">
    <div align="center">
	<table border="1" width="100%">
		<tr >
			<td colspan="4"><html:submit value="Approve" property="pdioap"></html:submit>    </td>
			<td colspan="4"><html:submit value="Disapprove" property="pdioap"></html:submit></td>		</tr>
		<tr bgcolor="cyan">
			
			<td width="13%" align="Center">Check</td>
			<td width="14%" align="Center">Designation</td>
			<td width="14%" align="Center">Name</td>
			<td width="15%" align="Center">Police district name</td>
			<td width="15%" align="Center">Photo</td>
			<td width="14%"align="Center">Date of join</td>
			<td width="12%" align="Center">IO code</td>
			<td width="12%" align="Center">Apply Date</td>
		</tr>
		<%if(spid!=null)
		{
		System.out.println(spid.size());
	
		for(int i=0;i<spid.size();i++)
		{%>
		
		
			
			<tr>
			<td width="10%" ><html:checkbox property="ck" value="<%=spid.get(i).toString() %>"></html:checkbox> </td>
			<td width="14%" align="center"><%=sdgs.get(i).toString() %></td>
			<td width="14%" align="center"><%=snm.get(i).toString() %></td>
			<td width="14%" align="center"><%=pdnm.get(i).toString() %></td>
			<td width="10%" align="center"><%=sph.get(i).toString() %></td>
			<td width="14%" align="center"><%=sdj.get(i).toString() %></td>
			<td width="14%" align="center"><%=scd.get(i).toString() %></td>
			<td width="14%" align="center"><%=sad.get(i).toString() %></td>
		</tr>
		
		
		
		
		<%}} %>	
	</table>
</div>



 </html:form>   
    






</div>
</div>
</div>
<div class="content-right">
<%@include file="SideMenu.jsp" %>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</div>
</div>
<div class="bottom">
<!--DO NOT Remove The Footer Links-->
<p><%@include file="Footer.jsp"  %><br>
<!--DO NOT Remove The Footer Links-->
</p>
</div>
</div>
</div>
</div>
</body>
</html:html>

  
   